package com.cookor.poi.modules.phy.service;

import com.cookor.poi.common.persistence.DataEntity;
import com.cookor.poi.common.persistence.Page;
import com.cookor.poi.common.service.CrudService;
import com.cookor.poi.modules.phy.dao.FSchedueTemplateDao;
import com.cookor.poi.modules.phy.entity.FSchedueTemplate;
import java.util.List;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional(readOnly = true)
public class FSchedueTemplateService extends CrudService<FSchedueTemplateDao, FSchedueTemplate> {
  public FSchedueTemplate get(String id) {
    return (FSchedueTemplate)super.get(id);
  }
  
  public List<FSchedueTemplate> findList(FSchedueTemplate fSchedueTemplate) {
    return super.findList( fSchedueTemplate);
  }
  
  public Page<FSchedueTemplate> findPage(Page<FSchedueTemplate> page, FSchedueTemplate fSchedueTemplate) {
    return super.findPage(page,  fSchedueTemplate);
  }
  
  @Transactional(readOnly = false)
  public void save(FSchedueTemplate fSchedueTemplate) {
    super.save( fSchedueTemplate);
  }
  
  @Transactional(readOnly = false)
  public void delete(FSchedueTemplate fSchedueTemplate) {
    super.delete( fSchedueTemplate);
  }
}
